open Rand

let state = Rand.randInit;;
let irng = Rand.intRng 30 50;;
let res = Rand.getRandInt state irng;;
print_int res;;
print_endline " ";;

let frng = Rand.floatRng 20.0 40.0;;
let res2 = Rand.getRandFloat state frng;;
print_float res2;;
print_endline " ";;
